package br.ufrrj.im.redes.util;

public abstract class Constants {

	public static final int GAMER_MODE = 1;
	public static final int SPECTATOR_MODE = 2;

	public static final int PORT_REQUEST_CONNECTION = 2222;
	public static final int PORT_GAME_CONNECTION = 2223;
	public static final String PATH_DEFAULT_LOG = "./Log/server.log";
	public static final int ATTEMPTS_GAME = 5;
	public static final int REMAINDER_TIME_START = 20;
	
	public static final int AUTHENTICATION_ACCEPT = 0;
	public static final int AUTHENTICATION_REQUEST = 1;
	public static final int AUTHENTICATION_USER_INVALID = 2;
	public static final int AUTHENTICATION_GAME_STARTED = 3;
	public static final int AUTHENTICATION_GAME_ERROR = -1;
	public static final int AUTHENTICATION_TIME_OUT = 15000;
	public static final int PERSISTENT_CONNECTION_TIME_OUT = 15000;
	
	public static final int INVALID_RANGE_PRIME = -1;

}
